<?php



$menu=getMenu();
foreach($menu as $m)
{
	if($m=="")continue;
	$x=explode(",",$m);
	?>
    
	<div class="menucontent" onclick="setRedirect('<?php echo $x[0]?>')" ><?php echo $x[1]?></div>

	<?php
}
?>
<script type="text/javascript">
	function setRedirect(val)
	{
		document.location="?contents="+val+"&lang=<?php echo $_SESSION["lang"]?>";

	}
	</script>